package com.jf.springcloud.service;

import com.jf.springcloud.util.Msg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2025-02-18
 * Time:23:29
 */
@Service
@FeignClient(value = "member-service-nacos-provider")
public interface MemberService {
    @GetMapping("/member/get/{id}")
    Msg getMember(@PathVariable("id") Integer id);
}
